<template>
	<base-select
		:title="$t('activity.recharge.activitySelect')"
		:data="activityList"
		:modelValue="selectedCode"
		@select="onSelect"
		v-bind="$attrs" />

	<!--	<base-popup-select-->
	<!--		:title="$t('activity.recharge.activitySelect')"-->
	<!--		:data="activityList"-->
	<!--		:modelValue="selectedCode"-->
	<!--		@select="onSelect"-->
	<!--		v-bind="$attrs"></base-popup-select>-->
</template>

<script lang="ts" setup>
import { BaseSelect } from '@/components/base'

defineProps({
	activityList: {
		type: Array,
		default: () => []
	},
	selectedCode: {
		type: String,
		default: ''
	}
})
const emits = defineEmits(['update:modelValue', 'select'])

const onSelect = (item: any) => {
	emits('select', item)
}
</script>
<style lang="scss" scoped></style>
